import request from '@/utils/https'

//--------------------------------------------------------------------------------------应用全局更新
//获取应用更新列表
export const queryAppUpdate = params => request('get','api/appTest/queryAppUpdate',params)

//添加应用更新
export const addAppUpdate = params => request("post",'api/appTest/addAppUpdate',params)

//根据id删除
export const deleteAppUpdate = params => request('post','api/appTest/deleteAppUpdate',params)

//应用更新编辑需要展示数
export const queryIdAppUpdate = params => request('get','api/appTest/queryIdAppUpdate',params)

//应用更新编辑
export const editAppUpdate = params => request('post','api/appTest/editAppUpdate',params)

//--------------------------------------------------------------------------------------灰度测试
//灰度测试列表---弃用
export const appUpdateListData = params => request('get','api/appUpdateListData',params)

//上传execl文件
export const uploadExecl = params => request('post','api/uploadExecl',params)

//灰度更新添加---弃用
export const addAppUpdateData = params => request('post','api/addAppUpdateData',params)

//根据ID查询数据
export const editAppUpdateGetData = params => request('get','api/editAppUpdateGetData',params)

//灰度测试删除----弃用
export const appUpdateDelData = params => request('get','api/appUpdateDelData',params)

//获取所有用户名
export const queryUsername = params => request('get','api/appTest/queryUsername',params)

//用户名获取批次
export const queryUsernameBatch = params => request('get','api/appTest/queryUsernameBatch',params)

//增加灰度测试
export const addAppTest = params => request('post','api/appTest/addAppTest',params)

//获取灰度测试
export const queryAppTest = params => request('get','api/appTest/queryAppTest',params)

//删除灰度测试
export const deleteAppTest = params => request('post','api/appTest/deleteAppTest',params)

//获取型号
export const getNameCode = params => request('get','api/appTest/getNameCode',params)

//获取appCharge
export const getAppChargeOptions = params => request('get','api/getAppChargeOptions',params)

//获取网址白名单
export const getBrowserWhiteUrl = params => request('get','api/getBrowserWhiteUrl',params)

export const getAllAppOptions = params => request('get','api/getAllAppOptions',params)
